package indigo.service.errors 
{
	import indigo.logger.error;
	/**
	 * @author patrickpietens
	 * 
	 */
	public class ServiceError extends Error 
	{
		/**
		 * Error message which is thrown when a IService fails to load
		 */		
		public static const SERVICE_EXCEPTION:String = "Error while executing IService";

		/**
		 * Constructor
		 * 
		 */
		public function ServiceError( message:*, id:* = 0 )
		{
			super( message, id );				
			error( this );
		}		
	}
}
